Skip to content

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Oct 6, 2025

Description

This pull request primarily fixes the documentation of PowerShell functions by adding PowerShell-formatted code blocks to the .EXAMPLE sections, due to upgrading from platyPS to Microsoft.PowerShell.PlatyPS. Additionally, it introduces configuration changes for linters and minor formatting corrections.

Documentation improvements:

  • Added PowerShell-formatted code blocks to the .EXAMPLE sections of many function files in src/functions/*. This was needed to retain the code blocks in the examples, as Microsoft.PowerShell.PlatyPS lets the user configure this.

Linter and configuration updates:

  • Added a Linter section to .github/PSModule.yml to explicitly disable several validation checks, such as VALIDATE_BIOME_FORMAT and VALIDATE_POWERSHELL.
  • Fixed a minor formatting issue in .github/linters/.markdown-lint.yml by changing double quotes to single quotes for the MD026.punctuation setting. This was also due to Microsoft.PowerShell.PlatyPS adding H3 for types which can be same for .INPUTS and .OUTPUTS.

Encoding and formatting corrections:

  • Added or corrected UTF-8 BOM in some PowerShell files to ensure proper encoding.

@MariusStorhaug MariusStorhaug self-assigned this Oct 6, 2025
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner October 6, 2025 13:36
@Copilot Copilot AI review requested due to automatic review settings October 6, 2025 13:36
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds linter configuration settings to disable multiple validation checks in the project's PSModule configuration. The changes focus on disabling various formatting and linting tools to adjust the project's code quality enforcement.

  • Adds a new Linter section with environment variable configurations
  • Disables seven different linter validation checks including Biome, GitHub Actions Zizmor, JSCPD, and Prettier variants

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Copilot Copilot AI review requested due to automatic review settings October 6, 2025 20:37
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

…tHubLogGroup functions; add detailed descriptions and examples
@Copilot Copilot AI review requested due to automatic review settings October 12, 2025 08:40
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

…GitHub functions to enhance usability and clarity
- Added code examples in the documentation for various GitHub user key management functions including:
  - Remove-GitHubUserKey
  - Add-GitHubUserSigningKey
  - Get-GitHubUserSigningKey
  - Remove-GitHubUserSigningKey
  - Add-GitHubUserSocial
  - Remove-GitHubUserSocial
  - Update-GitHubUser
  - Export-GitHubVariable
  - Get-GitHubVariable
  - New-GitHubVariable
  - Remove-GitHubVariable
  - Add-GitHubVariableSelectedRepository
  - Get-GitHubVariableSelectedRepository
  - Remove-GitHubVariableSelectedRepository
  - Set-GitHubVariableSelectedRepository
  - Set-GitHubVariable
  - Update-GitHubVariable
  - Get-GitHubAppWebhookConfiguration
  - Get-GitHubAppWebhookDelivery
  - Invoke-GitHubAppWebhookReDelivery
  - Test-GitHubWebhookSignature
  - Update-GitHubAppWebhookConfiguration
  - Disable-GitHubWorkflow
  - Enable-GitHubWorkflow
  - Get-GitHubWorkflow
  - Get-GitHubWorkflowRun
  - Remove-GitHubWorkflowRun
  - Restart-GitHubWorkflowRun
  - Stop-GitHubWorkflowRun
  - Start-GitHubWorkflow
  - New-FunctionTemplate

- Removed invisible characters from function definitions to ensure compatibility.
…shell' syntax highlighting for improved clarity
@Copilot Copilot AI review requested due to automatic review settings October 12, 2025 10:33
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 300 out of 335 changed files in this pull request and generated 17 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Copilot Copilot AI review requested due to automatic review settings October 12, 2025 13:33
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 300 out of 335 changed files in this pull request and generated 6 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 300 out of 335 changed files in this pull request and generated 6 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

…ByTeam, Get-GitHubSecretOwnerList, Get-GitHubRepositoryPermission, Get-GitHubRepositoryTopic, and Set-GitHubVariableSelectedRepository functions
@Copilot Copilot AI review requested due to automatic review settings October 12, 2025 20:13
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 300 out of 336 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@MariusStorhaug MariusStorhaug merged commit a11a390 into main Oct 14, 2025
144 of 147 checks passed
@MariusStorhaug MariusStorhaug deleted the fixDocs branch October 14, 2025 09:30
Copy link
Contributor

Module GitHub - 0.40.4 published to the PowerShell Gallery.

Copy link
Contributor

GitHub release for GitHub v0.40.4 has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant